Merge/Split Cells

Command Prototype

Excel.MergeRange(objExcelWorkBook,sheet,strCell,option,bSave)

Command Description

Merge or split the selected cell

Parameter Description
Required Parameter
objExcelWorkBook--Excel workbook object (workbook opened with "Open Excel " command (Excel.OpenExcel))
sheet--If it is a string, then it indicates the name of a specific worksheet; if it is a number, then it is the index of the specified the worksheet
strCell--The specified cell. Supports strings like "A1" and arrays formatted as [row, column]
option--Whether to merge to split a cell. True is merge; false is split
bSave--Whether to immediately save the changes after execution

results matching ""

    No results matching ""